package com.sq.partner.manager.mybatis.model;

import java.util.Date;

/**
 * 
 * @author zhihuizhao
 */
public class GatewayOrder { 
	private String ordreNo; //订单号
	private String transId; //交易系统trans ID
	private String applySeqNo; //外部交易流水号
	private String applyOrderNo; //外部订单号
	private String partnerNo; //合作伙伴代码
	private Date transDate; //交易时间
	private Date insertTime; //插入时间
	private Date updateTime; //更新时间
	private String status; //状态,1 新建;2已提交核保;3已出单;9已失效;11数据已获取;12重新下单;13数据已更新;21核保成功;22核保失败;
	private String orderDesc; //订单说明
	private String errorMsg; //订单错误信息
	private String  subPartnerNo;//子机构代码
	
	public String getSubPartnerNo() {
		return subPartnerNo;
	}
	public void setSubPartnerNo(String subPartnerNo) {
		this.subPartnerNo = subPartnerNo;
	}
	/**
	 * 扩充字段
	 */
	private String transDateBegin;	//交易起始日期
	private String transDateEnd;	//交易终止日期
	
    public void setOrdreNo(String ordreNo){
    	this.ordreNo = ordreNo;
    }
    public String getOrdreNo(){
    	return	this.ordreNo;
    }
    public void setTransId(String transId){
    	this.transId = transId;
    }
    public String getTransId(){
    	return	this.transId;
    }
    public void setApplySeqNo(String applySeqNo){
    	this.applySeqNo = applySeqNo;
    }
    public String getApplySeqNo(){
    	return	this.applySeqNo;
    }
    public void setApplyOrderNo(String applyOrderNo){
    	this.applyOrderNo = applyOrderNo;
    }
    public String getApplyOrderNo(){
    	return	this.applyOrderNo;
    }
    public void setPartnerNo(String partnerNo){
    	this.partnerNo = partnerNo;
    }
    public String getPartnerNo(){
    	return	this.partnerNo;
    }
    public void setTransDate(Date transDate){
    	this.transDate = transDate;
    }
    public Date getTransDate(){
    	return	this.transDate;
    }
    public void setInsertTime(Date insertTime){
    	this.insertTime = insertTime;
    }
    public Date getInsertTime(){
    	return	this.insertTime;
    }
    public void setUpdateTime(Date updateTime){
    	this.updateTime = updateTime;
    }
    public Date getUpdateTime(){
    	return	this.updateTime;
    }
    public void setStatus(String status){
    	this.status = status;
    }
    public String getStatus(){
    	return	this.status;
    }
    public void setOrderDesc(String orderDesc){
    	this.orderDesc = orderDesc;
    }
    public String getOrderDesc(){
    	return	this.orderDesc;
    }
    public void setErrorMsg(String errorMsg){
    	this.errorMsg = errorMsg;
    }
    public String getErrorMsg(){
    	return	this.errorMsg;
    }
	public String getTransDateBegin() {
		return transDateBegin;
	}
	public void setTransDateBegin(String transDateBegin) {
		this.transDateBegin = transDateBegin;
	}
	public String getTransDateEnd() {
		return transDateEnd;
	}
	public void setTransDateEnd(String transDateEnd) {
		this.transDateEnd = transDateEnd;
	}
}